package net.hn.hnms.biz.process.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName: ShiftTurnoverExportVo
 * @Description 交接班台账导出Vo
 * @Author 王龙
 * @Date 2022-10-10
 * @Version 0.1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "交接班台账导出Vo")
public class ShiftTurnoverExportVo {
    /**
     * 交班人员ID
     */
    @ApiModelProperty(value = "交班人员ID")
    @ExcelProperty(value = "交班人员")
    private String signOutPersonId;
    /**
     * 接班人员ID
     */
    @ExcelProperty(value = "接班人员")
    @ApiModelProperty(value = "接班人员ID")
    private String signInPersonId;
    /**
     * 交接班时间
     */
    @ExcelProperty(value = "交接班时间")
    @JsonFormat(timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交接班时间")
    private Date handoverTime;
    /**
     * 当班安全情况
     */
    @ExcelProperty(value = "当班安全情况")
    @ApiModelProperty(value = "当班安全情况")
    private String currentSituation;
    /**
     * 当班存在的问题及注意事项
     */
    @ExcelProperty(value = "当班存在的问题及注意事项")
    @ApiModelProperty(value = "当班存在的问题及注意事项")
    private String currentProblem;
    /**
     * 班次
     */
    @ExcelProperty(value = "班次")
    @ApiModelProperty(value = "班次")
    private String currentShiftId;

}
